package lion.formail.reader.accountcfg;

import java.util.ArrayList;
import java.util.List;

public class MailBox implements java.io.Serializable {

	private static final long serialVersionUID = -4342632652097699526L;
	private int id;
	private MailBox parent;
	private List<MailBox> subMailBoxs = new ArrayList<MailBox>();
	private String boxName;
	private String logicName;
	private int level;

	public int getLevel() {

		return level;
	}

	public void setLevel(int level) {

		this.level = level;
	}

	public String getBoxName() {

		return boxName;
	}

	public void setBoxName(String boxName) {

		this.boxName = boxName;
	}

	public int getId() {

		return id;
	}

	public void setId(int id) {

		this.id = id;
	}

	public String getLogicName() {

		return logicName;
	}

	public void setLogicName(String logicName) {

		this.logicName = logicName;
	}

	public MailBox getParent() {

		return parent;
	}

	public void setParent(MailBox parent) {

		this.parent = parent;
	}

	public List<MailBox> getSubMailBox() {

		return subMailBoxs;
	}

	public void setSubMailBox(List<MailBox> subMailBox) {

		this.subMailBoxs = subMailBox;
	}
}
